//
//  SJPermissionTool.h
//  Init
//
//  Created by zhaoshijie on 06/01/2018.
//  Copyright © 2018 zhaoshijie. All rights reserved.
//


#import <Foundation/Foundation.h>

#if NS_BLOCKS_AVAILABLE
typedef void(^ReturnBlock)(BOOL isOpen);
#endif



@interface SJPermissionTool : NSObject


//  相册
+ (void)openAlbumServiceWithBlock:(ReturnBlock)returnBlock;

//  相机
+ (void)openCaptureDeviceServiceWithBlock:(ReturnBlock)returnBlock;

//  推送
+ (void)openMessageNotificationServiceWithBlock:(ReturnBlock)returnBlock;

//  麦克风
+ (void)openRecordServiceWithBlock:(ReturnBlock)returnBlock;





@end


